{
  "properties" : { },
  "id" : "copy1740245954816d93773",
  "script" : null,
  "groupId" : "1d769e450596490d8703eac12b73d96e",
  "name" : "15.同程酒店转链",
  "createTime" : null,
  "updateTime" : 1740247259810,
  "lock" : null,
  "createBy" : null,
  "updateBy" : null,
  "path" : "/tchotelRatesurl",
  "method" : "POST",
  "parameters" : [ ],
  "options" : [ ],
  "requestBody" : "{\n     \"v\":\"v3\"\n     ,\"httpMethod\":\"POST\"\n}",
  "headers" : [ ],
  "paths" : [ ],
  "responseBody" : "{\n    \"code\": 200,\n    \"message\": \"success\",\n    \"data\": [\n        {\n            \"name\": \"同程酒店 特惠5折起\",\n            \"activityUrl\": \"page/home/webview/webview?src=https%3A%2F%2Fmp.elong.com%2Ftenthousandaura%2F%3Factivitycode%3D73086812-aaae-48ba-b14a-f087a6b61a92%26isSocket%3DHotel%26outToken%3D0d87b8e391ecbd01%26if%3D5012016%26of%3D5070264%26outUserid%3D11052_api_161234\",\n            \"activityH5Url\": \"https://mp.elong.com/tenthousandaura/?activitycode=73086812-aaae-48ba-b14a-f087a6b61a92&outToken=0d87b8e391ecbd01&if=5012016&of=5070264&outUserid=11052_api_161234\",\n            \"beginTime\": \"2024-10-25 00:00:00\",\n            \"endTime\": \"2027-04-30 23:59:59\",\n            \"posterUrl\": \"https://file.40017.cn/alliance/314d3a42364d42b7a1ec672ed05e9831.png\",\n            \"pictureUrl\": \"https://file.40017.cn/alliance/c9ef47d8add7406f866c469ef380af99.jpg\",\n            \"shareContext\": \"🌟【同程酒店】预订5折起！🌟\\n下榻精品，享受不止于住宿！\\n🎉 每日更新热门精选酒店\\n🎁 领取同程旅行专享酒店红包\"\n        },\n        {\n            \"name\": \"同程酒店专享福利\",\n            \"activityUrl\": \"page/home/webview/webview?src=https%3A%2F%2Fmp.elong.com%2Ftenthousandaura%2F%3Factivitycode%3D030883fa-48f7-4a9b-a590-e2f644a32a77%26isSocket%3DHotel%26outToken%3D0d87b8e391ecbd01%26if%3D5012016%26of%3D5070264%26outUserid%3D11052_api_161234\",\n            \"activityH5Url\": \"https://mp.elong.com/tenthousandaura/?activitycode=030883fa-48f7-4a9b-a590-e2f644a32a77&outToken=0d87b8e391ecbd01&if=5012016&of=5070264&outUserid=11052_api_161234\",\n            \"beginTime\": \"2024-10-30 00:00:00\",\n            \"endTime\": \"2025-10-31 23:59:59\",\n            \"posterUrl\": \"https://file.40017.cn/alliance/f3935c28720d4de8aac91fa60ad6dacf.png\",\n            \"pictureUrl\": \"https://file.40017.cn/alliance/abe0d7f22cf74b61bf7fe811dbe6c815.jpg\",\n            \"shareContext\": \"🌟 同程酒店专享福利，新客尊享双重好礼！🌟\\n🎉 新客专享福利：\\n· 🎁 酒店专属优惠券，预订立减，优惠看得见\\n· 🏷️ 会员体验卡，享受更多会员特权和服务\\n💥 特惠酒店5折起 💥\\n精选特惠酒店，更有酒店专属券包等您来领！\"\n        },\n        {\n            \"name\": \"66元起钟点房特惠\",\n            \"activityUrl\": \"page/home/webview/webview?src=https%3A%2F%2Fmp.elong.com%2Ftenthousandaura%2F%3Factivitycode%3D59598520-d355-4d71-8737-2c96f4949a4b%26isSocket%3DHotel%26outToken%3D0d87b8e391ecbd01%26if%3D5012016%26of%3D5070264%26outUserid%3D11052_api_161234\",\n            \"activityH5Url\": \"https://mp.elong.com/tenthousandaura/?activitycode=59598520-d355-4d71-8737-2c96f4949a4b&outToken=0d87b8e391ecbd01&if=5012016&of=5070264&outUserid=11052_api_161234\",\n            \"beginTime\": \"2024-10-30 00:00:00\",\n            \"endTime\": \"2027-12-31 23:59:59\",\n            \"posterUrl\": \"https://file.40017.cn/alliance/7347bc7858694882896c8110861f4b8c.png\",\n            \"pictureUrl\": \"https://file.40017.cn/alliance/30338236f1034720bed61cac25abc746.jpg\",\n            \"shareContext\": \"🕒 同程酒店 · 钟点房特惠，不可错过！🕒\\n🌟66元起，享受高性价比的钟点房服务\\n💼 中转小憩，舒适首选\\n📗福利推荐官精选优质酒店\\n👉 [立即预订] 👈\\n点击链接，快速预订您所需的钟点房，享受同程带来的便捷与舒适！\"\n        },\n        {\n            \"name\": \"天天特惠 百元住民宿\",\n            \"activityUrl\": \"page/home/webview/webview?src=https%3A%2F%2Fmp.elong.com%2Ftenthousandaura%2F%3Factivitycode%3Da2d1e832-4078-4ec2-b855-ebc9fb439c67%26isSocket%3DHotel%26outToken%3D0d87b8e391ecbd01%26if%3D5012016%26of%3D5070264%26outUserid%3D11052_api_161234\",\n            \"activityH5Url\": \"https://mp.elong.com/tenthousandaura/?activitycode=a2d1e832-4078-4ec2-b855-ebc9fb439c67&outToken=0d87b8e391ecbd01&if=5012016&of=5070264&outUserid=11052_api_161234\",\n            \"beginTime\": \"2024-11-06 00:00:00\",\n            \"endTime\": \"2027-12-31 23:59:59\",\n            \"posterUrl\": \"https://file.40017.cn/alliance/a687d8dc19c74979a5e05627bbba80cd.jpg\",\n            \"pictureUrl\": \"https://file.40017.cn/alliance/32dbb7e2be7b4725aa760c3f0d50c803.jpg\",\n            \"shareContext\": \"⛺ 同程民宿 · 天天特惠 ⛺\\n🔥 百元住民宿好房 \\n精选优质房源，百元起住舒适民宿！\\n✨ 优质房源，舒适体验 \\n精选全国各地优质民宿，为您提供温馨舒适的住宿体验\\n👉 [立即预订] 👈\\n点击链接，开始你的民宿之旅！\"\n        },\n        {\n            \"name\": \"酒店晚晚不过百\",\n            \"activityUrl\": \"page/home/webview/webview?src=https%3A%2F%2Fmp.elong.com%2Ftenthousandaura%2F%3Factivitycode%3D1df57150-3743-4db0-b2f0-5858e17825bc%26isSocket%3DHotel%26outToken%3D0d87b8e391ecbd01%26if%3D5012016%26of%3D5070264%26outUserid%3D11052_api_161234\",\n            \"activityH5Url\": \"https://mp.elong.com/tenthousandaura/?activitycode=1df57150-3743-4db0-b2f0-5858e17825bc&outToken=0d87b8e391ecbd01&if=5012016&of=5070264&outUserid=11052_api_161234\",\n            \"beginTime\": \"2024-11-12 00:00:00\",\n            \"endTime\": \"2025-06-30 23:59:59\",\n            \"posterUrl\": \"https://file.40017.cn/alliance/b0a00b7e6a2a476ba170ad81c3fff09e.png\",\n            \"pictureUrl\": \"https://file.40017.cn/alliance/92bf4e737a9e46c58603b6a2d92545d9.jpg\",\n            \"shareContext\": \"🎉 酒店晚晚不过百，百元好房等你来！🎉\\n🔥 精选高性价比酒店，评分4.0以上，品质有保证！\\n📍 覆盖各大核心商圈、热门景点及交通枢纽，出行更便捷，住宿更舒心\\n🎁 领取同程旅行酒店红包\\n👉 [立即预订] 👈享受更多优惠！\"\n        },\n        {\n            \"name\": \"山野避世 私汤温泉\",\n            \"activityUrl\": \"page/home/webview/webview?src=https%3A%2F%2Fmp.elong.com%2Ftenthousandaura%2F%3Factivitycode%3Dec96d8e4-9253-4884-a80d-d4e7a3af89b0%26isSocket%3DHotel%26outToken%3D0d87b8e391ecbd01%26if%3D5012016%26of%3D5070264%26outUserid%3D11052_api_161234\",\n            \"activityH5Url\": \"https://mp.elong.com/tenthousandaura/?activitycode=ec96d8e4-9253-4884-a80d-d4e7a3af89b0&outToken=0d87b8e391ecbd01&if=5012016&of=5070264&outUserid=11052_api_161234\",\n            \"beginTime\": \"2024-12-10 00:00:00\",\n            \"endTime\": \"2025-12-31 23:59:59\",\n            \"posterUrl\": \"https://file.40017.cn/alliance/0b5de6bd1ed64b83a8a62ac7da6cfae8.png\",\n            \"pictureUrl\": \"https://file.40017.cn/alliance/e0c419563e394531bb3b05e9df5de082.png\",\n            \"shareContext\": \"🌲 山野避世 · 私汤温泉 🌲\\n🏠 同程订民宿，省心又省钱\\n📍 覆盖江浙沪、珠三角、京津冀、云贵川等全国各地\\n💰 安心守护 优质低价\"\n        },\n        {\n            \"name\": \"滑滑的世界--冰雪季\",\n            \"activityUrl\": \"page/home/webview/webview?src=https%3A%2F%2Fmp.elong.com%2Ftenthousandaura%2F%3Factivitycode%3Df1806334-54c0-48b2-a649-5574968e07b3%26isSocket%3DHotel%26outToken%3D0d87b8e391ecbd01%26if%3D5012016%26of%3D5070264%26outUserid%3D11052_api_161234\",\n            \"activityH5Url\": \"https://mp.elong.com/tenthousandaura/?activitycode=f1806334-54c0-48b2-a649-5574968e07b3&outToken=0d87b8e391ecbd01&if=5012016&of=5070264&outUserid=11052_api_161234\",\n            \"beginTime\": \"2024-12-10 00:00:00\",\n            \"endTime\": \"2025-02-28 23:59:59\",\n            \"posterUrl\": \"https://file.40017.cn/alliance/2e7fc7a0b7674f49a3d993e42b679e10.png\",\n            \"pictureUrl\": \"https://file.40017.cn/alliance/63669f9809604ca88fcecd1e675cf026.png\",\n            \"shareContext\": \"❄️ 冰雪季 · 滑滑的世界 ❄️\\n🔥 跑暖汤 趣滑雪\\n🎁 领取300元惠玩大礼包\\n🌟 另外还有同程雪友专享权益卡\\n🏃‍♂️冰火两重天 玩转冰雪季\"\n        },\n        {\n            \"name\": \"给新年加点passion\",\n            \"activityUrl\": \"page/home/webview/webview?src=https%3A%2F%2Fmp.elong.com%2Ftenthousandaura%2F%3Factivitycode%3D1c7417b7-1c85-4bf2-95f8-4dc342cafb07%26isSocket%3DHotel%26outToken%3D0d87b8e391ecbd01%26if%3D5012016%26of%3D5070264%26outUserid%3D11052_api_161234\",\n            \"activityH5Url\": \"https://mp.elong.com/tenthousandaura/?activitycode=1c7417b7-1c85-4bf2-95f8-4dc342cafb07&outToken=0d87b8e391ecbd01&if=5012016&of=5070264&outUserid=11052_api_161234\",\n            \"beginTime\": \"2024-12-25 00:00:00\",\n            \"endTime\": \"2025-02-28 23:59:59\",\n            \"posterUrl\": \"https://file.40017.cn/alliance/962cad16e4be4e039dd066feebc3b0c6.png\",\n            \"pictureUrl\": \"https://file.40017.cn/alliance/23fda37280e64ed8aea4a0b3033fcc0a.png\",\n            \"shareContext\": \"🎉给新年加点 Passion！🎉\\n💡每天10:00限量抢红包限时券\\n🎁春运暖心福袋 最高可省666元\\n📅早订优惠6折起，品牌酒店新春76折起\"\n        },\n        {\n            \"name\": \"春节出境游，好巳会发生\",\n            \"activityUrl\": \"page/home/webview/webview?src=https%3A%2F%2Fmp.elong.com%2Ftenthousandaura%2F%3Factivitycode%3D2e6c8a03-57c2-4647-b00f-d3557cdf5d82%26isSocket%3DHotel%26outToken%3D0d87b8e391ecbd01%26if%3D5012016%26of%3D5070264%26outUserid%3D11052_api_161234\",\n            \"activityH5Url\": \"https://mp.elong.com/tenthousandaura/?activitycode=2e6c8a03-57c2-4647-b00f-d3557cdf5d82&outToken=0d87b8e391ecbd01&if=5012016&of=5070264&outUserid=11052_api_161234\",\n            \"beginTime\": \"2024-12-25 00:00:00\",\n            \"endTime\": \"2025-02-28 23:59:59\",\n            \"posterUrl\": \"https://file.40017.cn/alliance/10d7fc65f2074d99a501100ce5a978aa.png\",\n            \"pictureUrl\": \"https://file.40017.cn/alliance/606c4f9fe7b744d5859ae9a45d04daba.png\",\n            \"shareContext\": \"🌟春节出境游，好巳会发生🌟\\n🎁领取春节限定酒店红包，最高可省2025元！\\n💸另外还有好巳惊喜补贴红包\\n🎈港澳酒店 & 海外酒店，目的地热度排行榜看这里\\n ✈开启趣味旅程，更多超值酒店\"\n        },\n        {\n            \"name\": \"欢聚民宿，好{巳}连连\",\n            \"activityUrl\": \"page/home/webview/webview?src=https%3A%2F%2Fmp.elong.com%2Ftenthousandaura%2F%3Factivitycode%3D439d0dae-912f-4307-890a-d1ae57dde792%26isSocket%3DHotel%26outToken%3D0d87b8e391ecbd01%26if%3D5012016%26of%3D5070264%26outUserid%3D11052_api_161234\",\n            \"activityH5Url\": \"https://mp.elong.com/tenthousandaura/?activitycode=439d0dae-912f-4307-890a-d1ae57dde792&outToken=0d87b8e391ecbd01&if=5012016&of=5070264&outUserid=11052_api_161234\",\n            \"beginTime\": \"2025-01-07 00:00:00\",\n            \"endTime\": \"2025-02-28 23:59:59\",\n            \"posterUrl\": \"https://file.40017.cn/alliance/bb35c54057614da0a6889f679f34b066.jpg\",\n            \"pictureUrl\": \"https://file.40017.cn/alliance/dd0d951e6f7b4b9eb05db5a22960e8a3.jpg\",\n            \"shareContext\": \"🎉欢聚民宿，好巳连连🎉\\n📅超早订，严选民宿6折起\\n🎁抢150元民宿春节红包\\n🏠精选优质房源，享温馨假期\"\n        },\n        {\n            \"name\": \"春节出境游，好巳会发生【第二期】\",\n            \"activityUrl\": \"page/home/webview/webview?src=https%3A%2F%2Fmp.elong.com%2Ftenthousandaura%2F%3Factivitycode%3Ddb85cc6b-dc18-4e0d-b1c5-0decb3800dc5%26isSocket%3DHotel%26outToken%3D0d87b8e391ecbd01%26if%3D5012016%26of%3D5070264%26outUserid%3D11052_api_161234\",\n            \"activityH5Url\": \"https://mp.elong.com/tenthousandaura/?activitycode=db85cc6b-dc18-4e0d-b1c5-0decb3800dc5&outToken=0d87b8e391ecbd01&if=5012016&of=5070264&outUserid=11052_api_161234\",\n            \"beginTime\": \"2025-01-20 00:00:00\",\n            \"endTime\": \"2025-02-28 23:59:59\",\n            \"posterUrl\": \"https://file.40017.cn/alliance/33afe6e90f754d17a854dbabcea20d36.png\",\n            \"pictureUrl\": \"https://file.40017.cn/alliance/2d12ac82984d4c109916f11232e85df4.png\",\n            \"shareContext\": \"🌟春节出境游，好巳会发生🌟\\n🎉国际酒店春节活动第二期来袭\\n🎁参与迎新福袋抽奖，福到运到\\n🌍精选境外+港澳热门目的地\\n📱点击预订，探索自然奇观与现代都市\"\n        }\n    ],\n    \"timestamp\": 1740245979131,\n    \"executeTime\": 341\n}",
  "description" : null,
  "requestBodyDefinition" : null,
  "responseBodyDefinition" : null
}
================================
import hdk;    //导入hdk模块

//例子
var params =  {
    apiMethodName:"tchotel_ratesurl"
    };
if(body!=null){
    params.putAll(body);
}
var response = hdk.execute(params);
if(response.code!=1 && response.code!=200) {
    exit 500,response.msg;
}
return response.data;
